#ifndef XN297L_H
#define XN297L_H

#include "config.h"

#define DEFAULT_CHANNEL 1 //初始化时的频率： 2401 MHz

uint8_t xn297lInit(void);
uint8_t xn297lReadAndSend(uint8_t *pRBuf, uint8_t *pTBuf);
void xn297lSetChannel(uint8_t t_channel);
void xn297lSetAddr(uint8_t *addr);

#endif

